package com.qtt.app.service;

import com.qtt.app.entity.OrderForm;
import com.qtt.app.entity.ReturnInfo.ReturnCommentCourse;

import java.math.BigDecimal;
import java.util.List;

public interface OrderFormService {
    List<OrderForm> listAll();

    List<OrderForm> getOrderByIdAndState(Long userId, Integer orderState);

    List<ReturnCommentCourse> getCommentCourse(Long userId, int orderState);

    int payOrder(Long userId, String generalId, String realName, String phone, BigDecimal realPrice,BigDecimal sumPrice, Integer peopleNum, Integer flag);
}
